fix launch config
cleanup code