removed fetch
last
added stdClass to array casting