fix bug for projection