removed some minor leftovers and fixed a small bug causing an issue during minification in production