single file render works properly now