remove not needed brackets in if-statements