application and _header switch to slim