correct attach of static files