get rid if warnings on spec