trying to fix the error