memory errors with level(?)