fixed overwrite bug
Signed-off-by: breadam <bilgi@breadam.com>