Fixing the error