Corrected wrong inserting