FIXED COMMIT ERRORS