remove casting and let waterline handle it