Be compatible with craphp