remove redundant if condition..