fixed routes for files in subdirs