Quick fix to Sheyn's error