fixed crash in dev file read...still tracking down a bug