Fixed a bug that made resolution break