move error code to right side