fix bug with post_textarea count and clearing image attachment