removed $image variable and assigned directly to return

Pretty useless variable~