added constants.java fixes