bugfix to application type