fixed a bug in __get; it wasn't referring to the phptal object