Fix for crashing while praying.