fixing prompt bugs