Remove extra space in command