move errors to their own file
fix falsey default issue