Fixed init of calculate, constraint and readonly