fixed prompt command to respect other prompt commands previously set
fixed bug if no prompt command had been set previously