fix for empty middleware list
incr version