staticfile bugfix