fixed a bug in the eband trajectory controller