fixed load files in order to compile assets