fixed none.get error