parser cleanup
building icon from path