fixed ports draw functions