trying to fix spell error check