suppressed negative energy error by issuing warning