fixed typo on PostType generator that made can_export always false