Fixed some of the spell crashes

Signed-off-by: Sovak <Sovak007@gmail.com>