Fixed curious bug