fixed add exercise bug