standards

non standard if statement fixed