ormap bug fix