fixed jay's error