Fixed application variable not being resolved