Why am I getting two copies of the application?