cleaned up gss and gsp output