virtual attr. not working