fix type and remove effects of 'blackboard' and 'whiteboard'
fix bugs