fixed some errors...