fixed bug in workout class