To fix issue for not plotting initial values