remove unnecessary binary extension