fix code with online