trying to fix the code check