When you are serving a boss rather than a leader who knows everything but do not have any idea on anything.. Better take the risk and find a new job. Satisfaction at work is not just all about the money it's more of how you are being acknowledged and how well you are growing.
Make life simpler, stop trying to please those who hate you for no matter what you do,haters gonna hate. instead keep on pleasing those who love you and if you miss, they will surely understand and will keep loving you.