changed ownererror call to owner instead of ownerid