Remove spaces in resources