solved minor error