removed script
fixed edge case