fixed bug with protetected property