make sure first entity in array exists