fixed bug with exercises interface implemtation