fixed some stupid code