Fixed but where .on was used instead of .once.