remove position static if condition