adds click handler fix to build file