use pry for debug. fix specs