Fix air lock controller crash and saving problem