trying to fix this error