Try to fix slim's recent error (thanks dokdo)