fixed request return values from handler