fix bug in regular backend