fixing  ordering   problem
fixing  ordering   problem