500 on empty slug fix