fixed bug on return float/string