minor fixes. pgb glitch