fixed bug with loading static content