fix for paths problem