fixed some errors....