fixing calcYstar