Kaloor accident could have been avoided