removed if condition that will never pass