fix to testing bug