fixed some stupid code errors. Maybe this works on travis