remove extension from the main executable