fixed bug with add and remove buttons, maxim image was not logical class.