debug
minor modification