fixing to fs
fixed to use toString()