make file create controller a little bit cleaner
fix path normalization