reader writer sanitizes input
fixed specs