corrected bug in plate route