changed curl fetch to internal RFS, removed excessive checks