remove preapplication stuff