resolve and fixed bug #2- change colorbox function