fixed dynamic property deprecation warning