changed some error prints to panics as theres no recovery options