remove extra space for or command