Added a hotfix for #27 but further work should be done to fully fix it. Fixed slots depends. Fixed slots exit.