fixed shallow copying. added note on __getattr__