clean crappy syntax