fixed inf loop due to attribute prefix issue