json made floating and size problem added sample option