fixed minor bug with access