modify syntax error : __get() is magic method to id