updates

Signed-off-by: Lahiru Chandima <lahiruchandima@Lahirus-MacBook-Pro.local>
crash fixed

Signed-off-by: Lahiru Chandima <lahiruchandima@Lahirus-MacBook-Pro.local>