minor fix rupy for performance