Fixing the following machine