bug fix for dim stop