removing bs path and fixing paths