Fixes return values

The method of course should return a string and not a boolean value