small appier code fix