public methods are bad again
fix string offset fatal error