Resolved division by zero warnings in CE