adapt to old version of appmart prior to 1.2