corrected the storing of features