trying to fix some errors