loc cant handle nulls