Fixes custom route