fixed comiple errors