tested on statamic 1.8