Remove extra space in spec