fixed bug with building static assets