mixxed data type error - fix