fixed calculating life and sun points