small fixes

fixin small bugs, mostly theme related.