Fix blank signs due to StringIndexOutOfBoundsException