apply slim patch