applying a bugfix by @suskind which broke lastPass