Fixing client side resources
Small changes for security