fixed wrong id postions