updated with static files--contains error