fixed bug in slide engine causing application to crash in production