fixed bug in webfiles