fix to #243