When no warehouse configurated set 0 instead of seting ''