fixed path and attributes issues