Fixed error with initial insert