Fixed bug in properties