fixed fees undefined index