Bug fixed for missing codes.