add local rbp
add allowrotate feature