On Beck's problem