fix minor things + one prayer crash