code was displayed twice