fix the storing of release_type value