fix better .panel support