correct set app code