remove real-value related code