Some stupid errors fixed