bug fix with 4d scan