Fixes ordering issue.