fixed awk for creating bed file