fix bug with property visibility