fix #16, use application name as string
fix #17, use correct name for params hash