fixing adding data