Fixed null pointer in bolt moving script