fix to work with prelude 1.0.0