elements drawing wrong