improve div rect functions
add rc file