small bugfixes for theming+sass+templates