s
fix
adding debug logic