center binary, and remove buggy function