generate DATE_FORMAT throws app registry error
whitespace fuckery