checks if position is null