fix for shell, and lab3 pm