finally fixed the prompt command thing for real