fixes for sramp issues 263, 256