fix can't run in no revel env