fixing blank id error