* fixed a bug in getattr to recognize link