fix to previous patch