refactor get exercise
clear form function debuged