fix constant bug
docs