solve canvas display