fixing command insert