make local copies of kwargs attribute