Fix wrong statements being used.