fixed bugs with loading css uploads