fix bug in isset