fixed reserlution order