hack-around to not crash on single quote input