small issue
fixed null pointer error on adding payload