remove devision by zero warning