Fix error methor to retorn string