Fix /p from /h getting stuck in /h