fix errors for last time