fix paste fix graduation
add window resize