Fix MAX_LENGTH_HEADLINE and imgur upload