Fix gsp error for #245