remove if condition which is always false