fix getProperty call error