fixing isOwner function