fixed problems with elk