fix errors from 1.5.1 updates