added fix for 0 result