Refactored range usage in detail view and fixed ptr, arecord, static interface
create