small fixes, using rAF technique