testing if .done and .fail are causing the error.