fixed bug with getter