correcting some bugs