solve slim incompatible warning