static object problem fixed