delete unnecessary parts
found and fixed bug with drawables: trim whitespace!