fixes #591: applciation to application