few fixes related to application

Few fixes for related to application not being able to plot the data.