make static file work