fix for S