Fixed : duplicate data in database