to make things ok for debug information of getcursorbmp