fix variable assignment

Remove $ sign from delta variable